package game;

import AGFX.F3D.Body.TF3D_Body;

/**
 * @author Baskervil
 *
 */
public class TCard extends TF3D_Body
{ 
	private String type = "veza";
	private int side = 0;
	private int par = 0;
	private float x = 0;
	private float y = 0;
	private String[] type_list = new String[18];
	
	public TCard(String _name) {
		super(_name);
		this.type_list[0] = "10";
		this.type_list[1] = "25";
		this.type_list[2] = "50";
		this.type_list[3] = "100";
		this.type_list[4] = "200";
		this.type_list[5] = "500";
		this.type_list[6] = "list";
		this.type_list[7] = "pika";
		this.type_list[8] = "zalud";
		this.type_list[9] = "srdce";
		this.type_list[10] = "sad";
		this.type_list[11] = "smile";
		this.type_list[12] = "kral";
		this.type_list[13] = "dama";
		this.type_list[14] = "veza";
		this.type_list[15] = "strelec";
		this.type_list[16] = "kon";
		this.type_list[17] = "pesiak";
	}

	public void setType(int pT) {
		this.type = this.type_list[pT];
		
	}

	public void setSide(int pS) {
		this.side = pS;
	}

	public void setPar(int pP) {
		this.par = pP;
	}

	public void setX(float pX) {
		this.x = pX;
	}

	public void setY(float pY) {
		this.y = pY;
	}

	public String getType() {
		return this.type;
	}

	public int getSide() {
		return this.side;
	}

	public int getPar() {
		return this.par;
	}

	public float getX() {
		return this.x;
	}

	public float getY() {
		return this.y;
	}

}
